import { dataCompanyAxios } from '@/utils/request.ts'

export const getCompanyInfoDetailQueryBusinessInformation = (params: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryBusinessInformation`,
    method: 'get',
    params
  })
}

export const postCompanyInfoDetailQueryShareholderInformation = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryShareholderInformation`,
    method: 'post',
    data
  })
}
export const postCompanyInfoDetailQueryLeadingMember = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryLeadingMember`,
    method: 'post',
    data
  })
}
export const postCompanyInfoDetailTalentTeam = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/talentTeam`,
    method: 'post',
    data
  })
}
export const getCompanyInfoDetailQueryOverviewOfChanges = (params: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryOverviewOfChanges`,
    method: 'get',
    params
  })
}
export const postCompanyInfoDetailQueryChangeDetails = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryChangeDetails`,
    method: 'post',
    data
  })
}
export const getCompanyInfoDetailQueryChangeBarChart = (params: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/queryChangeBarChart`,
    method: 'get',
    params
  })
}
export const getCompanyInfoDetailEquityRelationship = (params: any): Promise<any> => {
  return dataCompanyAxios({
    url: `/companyInfo/detail/equityRelationship`,
    method: 'get',
    params
  })
}
